﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Web;

namespace IceDog.Practice.Mvc.Code
{
    public static class Check
    {
        public static bool IsWorkFlowMgtReadOnly()
        {
            var val = ConfigurationManager.AppSettings["edoc2.workflowControlForYangzijiang"];
            if (string.IsNullOrEmpty(val))
            {
                return false;
            }
            else
            {
                return val.Trim().Equals("off");
            }
        }
    }
}